/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * frmPasienPulang.java
 *
 * Created on Jan 24, 2012, 4:26:14 PM
 */
package SIMRS.RawatInap.view;

import usu.widget.Form;

/**
 *
 * @author asus A42J-i3
 */
public class frmPasienPulang extends Form {

    /** Creates new form frmPasienPulang */
    public frmPasienPulang() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        label1 = new SIMRS.RawatInap.widget.Label();
        jPanel2 = new javax.swing.JPanel();
        pnlForm1 = new SIMRS.RawatInap.widget.PnlForm();
        cmbPasienDiRawatInap = new javax.swing.JComboBox();
        txtNoRegistrasi = new SIMRS.RawatInap.widget.TextBox();
        label9 = new SIMRS.RawatInap.widget.Label();
        label4 = new SIMRS.RawatInap.widget.Label();
        label7 = new SIMRS.RawatInap.widget.Label();
        label3 = new SIMRS.RawatInap.widget.Label();
        label10 = new SIMRS.RawatInap.widget.Label();
        cmbCaraKeluar = new javax.swing.JComboBox();
        cmbKondisiKeluar = new javax.swing.JComboBox();
        label6 = new SIMRS.RawatInap.widget.Label();
        label5 = new SIMRS.RawatInap.widget.Label();
        txtNama = new SIMRS.RawatInap.widget.TextBox();
        txtTanggalMasuk2 = new SIMRS.RawatInap.widget.TextBox();
        label8 = new SIMRS.RawatInap.widget.Label();
        txtUmur = new SIMRS.RawatInap.widget.TextBox();
        btnKeluar = new SIMRS.RawatInap.widget.button2();
        btnSimpan = new SIMRS.RawatInap.widget.button2();
        cekPasienDiRawatInap = new javax.swing.JCheckBox();
        label11 = new SIMRS.RawatInap.widget.Label();
        txtTanggalMasuk = new com.toedter.calendar.JDateChooser();
        txtTanggalPulang = new com.toedter.calendar.JDateChooser();

        label1.setText("label1");

        setTitle("[ :: Pasien Pulang :: ]");
        setAnimationHide(usu.widget.constan.Animation.HIDE_TO_TOP);
        setAnimationShow(usu.widget.constan.Animation.SHOW_FROM_BOTTOM);
        setResizable(false);
        setUndecorated(true);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                formWindowClosing(evt);
            }
        });
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jPanel2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
        getContentPane().add(jPanel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 160, 570, -1));

        pnlForm1.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(112, 138, 31), 3, true));
        pnlForm1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        cmbPasienDiRawatInap.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        pnlForm1.add(cmbPasienDiRawatInap, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 250, 120, -1));

        txtNoRegistrasi.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtNoRegistrasiActionPerformed(evt);
            }
        });
        pnlForm1.add(txtNoRegistrasi, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 120, 160, -1));

        label9.setText("Tanggal Pulang");
        pnlForm1.add(label9, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 210, -1, -1));

        label4.setText("Tanggal Masuk");
        pnlForm1.add(label4, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 180, -1, -1));

        label7.setText("No. RM");
        pnlForm1.add(label7, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 150, -1, -1));

        label3.setText("Cara Keluar");
        pnlForm1.add(label3, new org.netbeans.lib.awtextra.AbsoluteConstraints(330, 180, -1, -1));

        label10.setText("Kondisi Keluar");
        pnlForm1.add(label10, new org.netbeans.lib.awtextra.AbsoluteConstraints(330, 210, -1, -1));

        cmbCaraKeluar.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        pnlForm1.add(cmbCaraKeluar, new org.netbeans.lib.awtextra.AbsoluteConstraints(410, 180, 120, -1));

        cmbKondisiKeluar.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        pnlForm1.add(cmbKondisiKeluar, new org.netbeans.lib.awtextra.AbsoluteConstraints(410, 210, 120, -1));

        label6.setText("Umur");
        pnlForm1.add(label6, new org.netbeans.lib.awtextra.AbsoluteConstraints(330, 150, -1, 20));

        label5.setText("No Registrasi");
        pnlForm1.add(label5, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 120, -1, -1));

        txtNama.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtNamaActionPerformed(evt);
            }
        });
        pnlForm1.add(txtNama, new org.netbeans.lib.awtextra.AbsoluteConstraints(410, 120, 154, -1));

        txtTanggalMasuk2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtTanggalMasuk2ActionPerformed(evt);
            }
        });
        pnlForm1.add(txtTanggalMasuk2, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 150, 160, -1));

        label8.setText("Nama");
        pnlForm1.add(label8, new org.netbeans.lib.awtextra.AbsoluteConstraints(330, 120, -1, -1));

        txtUmur.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtUmurActionPerformed(evt);
            }
        });
        pnlForm1.add(txtUmur, new org.netbeans.lib.awtextra.AbsoluteConstraints(410, 150, 154, -1));

        btnKeluar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_close.png"))); // NOI18N
        btnKeluar.setText("Keluar");
        btnKeluar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnKeluarActionPerformed(evt);
            }
        });
        pnlForm1.add(btnKeluar, new org.netbeans.lib.awtextra.AbsoluteConstraints(460, 290, -1, -1));

        btnSimpan.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_simpan.png"))); // NOI18N
        btnSimpan.setText("Simpan");
        pnlForm1.add(btnSimpan, new org.netbeans.lib.awtextra.AbsoluteConstraints(340, 290, -1, -1));

        cekPasienDiRawatInap.setBackground(new java.awt.Color(255, 153, 0));
        cekPasienDiRawatInap.setFont(new java.awt.Font("Tahoma", 1, 11));
        cekPasienDiRawatInap.setText("Ruang Tujuan");
        pnlForm1.add(cekPasienDiRawatInap, new org.netbeans.lib.awtextra.AbsoluteConstraints(40, 250, -1, -1));

        label11.setForeground(new java.awt.Color(255, 255, 255));
        label11.setText("Form Pasien Keluar Kamar");
        label11.setFont(new java.awt.Font("Tahoma", 1, 24));
        pnlForm1.add(label11, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 20, -1, -1));
        pnlForm1.add(txtTanggalMasuk, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 180, 140, -1));
        pnlForm1.add(txtTanggalPulang, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 210, 140, -1));

        getContentPane().add(pnlForm1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 600, 350));

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-600)/2, (screenSize.height-351)/2, 600, 351);
    }// </editor-fold>//GEN-END:initComponents

private void txtUmurActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtUmurActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtUmurActionPerformed

private void txtNamaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtNamaActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtNamaActionPerformed

private void txtNoRegistrasiActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtNoRegistrasiActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtNoRegistrasiActionPerformed

private void txtTanggalMasuk2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtTanggalMasuk2ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtTanggalMasuk2ActionPerformed

    private void formWindowClosing(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowClosing
        dispose();// TODO add your handling code here:
    }//GEN-LAST:event_formWindowClosing

private void btnKeluarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnKeluarActionPerformed
    this.dispose();
    frmTransaksiPelayanan transPelayanan=new frmTransaksiPelayanan();
    transPelayanan.setVisible(true);
}//GEN-LAST:event_btnKeluarActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private SIMRS.RawatInap.widget.button2 btnKeluar;
    private SIMRS.RawatInap.widget.button2 btnSimpan;
    private javax.swing.JCheckBox cekPasienDiRawatInap;
    private javax.swing.JComboBox cmbCaraKeluar;
    private javax.swing.JComboBox cmbKondisiKeluar;
    private javax.swing.JComboBox cmbPasienDiRawatInap;
    private javax.swing.JPanel jPanel2;
    private SIMRS.RawatInap.widget.Label label1;
    private SIMRS.RawatInap.widget.Label label10;
    private SIMRS.RawatInap.widget.Label label11;
    private SIMRS.RawatInap.widget.Label label3;
    private SIMRS.RawatInap.widget.Label label4;
    private SIMRS.RawatInap.widget.Label label5;
    private SIMRS.RawatInap.widget.Label label6;
    private SIMRS.RawatInap.widget.Label label7;
    private SIMRS.RawatInap.widget.Label label8;
    private SIMRS.RawatInap.widget.Label label9;
    private SIMRS.RawatInap.widget.PnlForm pnlForm1;
    private SIMRS.RawatInap.widget.TextBox txtNama;
    private SIMRS.RawatInap.widget.TextBox txtNoRegistrasi;
    private com.toedter.calendar.JDateChooser txtTanggalMasuk;
    private SIMRS.RawatInap.widget.TextBox txtTanggalMasuk2;
    private com.toedter.calendar.JDateChooser txtTanggalPulang;
    private SIMRS.RawatInap.widget.TextBox txtUmur;
    // End of variables declaration//GEN-END:variables
}
